**** dT 0.000 * top TEST ../../../../bin/vinyltest/tests/b00019.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:54849 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub **** top extmacro def topsrc=/tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/../.. **** top macro def testdir=/tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/../../../../bin/vinyltest/tests **** top macro def tmpdir=/tmp/vtest.suncc12.6_m64_IPv4_uffix/_vtest_tmp/vtc.104899.08271dc8 **** top macro def vtcid=vtc.104899.08271dc8 **** dT 0.001 ** top === vtest "Check that max_restarts outside vcl_recv works and th... * top VTEST Check that max_restarts outside vcl_recv works and that we don't fall over ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=50139 **** s1 macro def s1_sock=127.0.0.1:50139 * s1 Listen on 127.0.0.1:50139 **** dT 0.002 ** top === vinyl v1 -vcl+backend { ** s1 Started on 127.0.0.1:50139 (1 iterations) **** dT 0.013 ** v1 Launch *** v1 CMD: cd ${pwd} && exec vinyld -d -n /tmp/vtest.suncc12.6_m64_IPv4_uffix/_vtest_tmp/vtc.104899.08271dc8/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40689' -P /tmp/vtest.suncc12.6_m64_IPv4_uffix/_vtest_tmp/vtc.104899.08271dc8/v1/vinyld.pid -p vmod_path=/tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/vmod/.libs: *** v1 CMD: cd /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest && exec vinyld -d -n /tmp/vtest.suncc12.6_m64_IPv4_uffix/_vtest_tmp/vtc.104899.08271dc8/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40689' -P /tmp/vtest.suncc12.6_m64_IPv4_uffix/_vtest_tmp/vtc.104899.08271dc8/v1/vinyld.pid -p vmod_path=/tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/vmod/.libs: **** dT 0.016 *** v1 PID: 104912 **** v1 macro def v1_pid=104912 **** v1 macro def v1_name=/tmp/vtest.suncc12.6_m64_IPv4_uffix/_vtest_tmp/vtc.104899.08271dc8/v1 **** dT 0.057 *** v1 debug|Warning: mlock() of VSM failed: Not owner (1) **** dT 0.060 *** v1 debug|Debug: Version: vinyl-cache-trunk revision 17ea9216e8091e8bd4b65a2e0b946c92de2125f4 *** v1 debug| *** v1 debug|Debug: *** v1 debug| Platform: -jsolaris,-sdefault,-sdefault,-hcritbit *** v1 debug| *** v1 debug|200 292 *** v1 debug|----------------------------- *** v1 debug|Vinyl Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|-jsolaris,-sdefault,-sdefault,-hcritbit *** v1 debug|vinyl-cache-trunk revision 17ea9216e8091e8bd4b65a2e0b946c92de2125f4 *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.157 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.158 *** v1 CLI RX 107 **** v1 CLI RX|gcqdnrlickooxmbqyzolchylksedyzth **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth e8a48b2d9edb43fb8c671e421718501e00670aad72de46dd3fead95e077a8532 **** dT 0.159 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Vinyl Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|-jsolaris,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|vinyl-cache-trunk revision 17ea9216e8091e8bd4b65a2e0b946c92de2125f4 **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "50139"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_hit { **** v1 CLI TX|\t return (restart); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\t# when we end up here, we have _exceeded_ the number **** v1 CLI TX|\t\t# allowed restarts **** v1 CLI TX|\t\tif (req.restarts == 3) { **** v1 CLI TX|\t\t\tset resp.status = 200; **** v1 CLI TX|\t\t\tset resp.reason = "restart=3"; **** v1 CLI TX|\t\t} elsif (req.restarts > 3) { **** v1 CLI TX|\t\t\tset resp.status = 501; **** v1 CLI TX|\t\t\tset resp.reason = "restart>3"; **** v1 CLI TX|\t\t} elsif (req.restarts < 3) { **** v1 CLI TX|\t\t\tset resp.status = 500; **** v1 CLI TX|\t\t\tset resp.reason = "restart<3"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.259 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.360 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.460 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.560 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.660 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.760 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.786 *** v1 CLI RX 200 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Security: proc_setid missing, uid/gid unchanged **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|Security: proc_setid missing, uid/gid unchanged **** v1 CLI RX|cc: Warning: Option -fno-var-tracking-assignments passed to ld, if ld is invoked, ignored otherwise **** v1 CLI RX|"vgc.c", line 3197: warning: statement not reached (E_STATEMENT_NOT_REACHED) **** v1 CLI RX|Message from dlopen: **** v1 CLI RX|Security: proc_setid missing, uid/gid unchanged **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 0.800 *** v1 debug|Debug: *** v1 debug|Child (105573) Started **** dT 0.831 *** v1 debug|Child launched OK **** dT 0.833 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status *** v1 debug|Info: Child (105573) said Child starts *** v1 debug| *** v1 debug|Info: *** v1 debug| *** v1 debug|Child (105573) said notice:\tlibumem was already found to be loaded *** v1 debug| *** v1 debug|Info: *** v1 debug| *** v1 debug|Child (105573) said Security: proc_setid missing, uid/gid unchanged *** v1 debug| *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 40305 **** v1 CLI TX|debug.xid 1000 **** dT 0.834 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 40305 ** v1 Listen on 127.0.0.1 40305 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=40305 **** v1 macro def v1_sock=127.0.0.1:40305 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=40305 **** v1 macro def v1_a0_sock=127.0.0.1:40305 **** dT 0.860 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1773747586.565732/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1773747586.565732/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:40305 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:40305 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:40305 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:40305 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:40305 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:40305 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:40305 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:40305 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 40305 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 40305 **** dT 0.934 ** top === vinyl v1 -cliok "param.set max_restarts 2" **** v1 CLI TX|param.set max_restarts 2 *** v1 CLI RX 200 ** v1 CLI 200 ** top === client c1 { ** c1 Starting client **** dT 0.935 ---- c1 Assert error in Sess_Start_Thread(), ../../../../bin/vinyltest/vtest2/src/vtc_sess.c line 178: Condition(pthread_create(&pt, ((void *)0), sess_thread, ta) failed) not true. Errno=11 Resource temporarily unavailable Backtrace: fffffc5dfe5d2b7d: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3.1.0'vbt_execinfo+0x3d [0xfffffc5dfe5d2b7d] fffffc5dfe5d2f21: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3.1.0'VBT_format+0x41 [0xfffffc5dfe5d2f21] fffffc5dfe5d2fd0: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3.1.0'VBT_dump+0x90 [0xfffffc5dfe5d2fd0] 47162d: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'vtc_log_VAS_Fail+0xcd [0x47162d] fffffc5dfe5d14ac: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3.1.0'VAS_Fail+0x8c [0xfffffc5dfe5d14ac] 48fb61: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'Sess_Start_Thread+0x3a1 [0x48fb61] 43d9b1: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'client_start+0x2d1 [0x43d9b1] 43dc1b: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'client_run+0x1b [0x43dc1b] 43e455: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'cmd_client+0x815 [0x43e455] 437c5a: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'parse_string+0x11da [0x437c5a] 43891f: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'exec_file+0x6ff [0x43891f] 47d9e2: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'start_test+0x982 [0x47d9e2] 480edb: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'main+0x53b [0x480edb] 428534: /tmp/vtest.suncc12.6_m64_IPv4_uffix/varnish-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest'0x28534 [0x428534] * top RESETTING after ../../../../bin/vinyltest/tests/b00019.vtc ** s1 Waiting for server (3/-1) **** dT 0.936 ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Debug: *** v1 debug| Stopping Child **** dT 0.960 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 1.036 *** v1 debug|Info: Child (105573) said Child dies *** v1 debug|Info: *** v1 debug|Child (105573) ended *** v1 debug| *** v1 debug|Debug: *** v1 debug|Child cleanup complete *** v1 debug| *** v1 debug|Info: *** v1 debug|manager dies *** v1 debug| **** dT 1.037 **** v1 STDOUT EOF **** dT 1.060 ** v1 WAIT4 pid=104912 status=0x0000 (user 0.797000 sys 0.276000) **** dT 1.061 * top TEST ../../../../bin/vinyltest/tests/b00019.vtc FAILED # top TEST ../../../../bin/vinyltest/tests/b00019.vtc FAILED (1.067) exit=2 FAIL tests/b00019.vtc (exit status: 2)